package com.bean;

import java.util.List;

public class BookBean {


    /**
     * code : 1
     * msg : 成功
     * time : 1587883806
     * data : [{"id":2,"name":"眼力练习","logo_image":"http://huixuehuiji.com//uploads/20200426/c6abc09537eb0b0bc61ef7a9d637bd39.jpg","description":"眼力练习","price":200,"begin_time":1587869404,"end_time":1587869404,"state":"1","content":"<p><img style=\"width: 470px;\" src=\"http://huixuehuiji.com/uploads/20200426/166d09a6288d99dc6acaefb62666e52d.png\" data-filename=\"filename\"><img style=\"width: 470px;\" src=\"http://huixuehuiji.com/uploads/20200426/cf6077d8c05882172b439e815bdfb3ae.png\" data-filename=\"filename\"><img style=\"width: 180px;\" src=\"http://huixuehuiji.com/uploads/20200426/f7f76d10ec72d7d9e1e81485d404463b.png\" data-filename=\"filename\"><br><\/p>"}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * name : 眼力练习
         * logo_image : http://huixuehuiji.com//uploads/20200426/c6abc09537eb0b0bc61ef7a9d637bd39.jpg
         * description : 眼力练习
         * price : 200
         * begin_time : 1587869404
         * end_time : 1587869404
         * state : 1
         * content : <p><img style="width: 470px;" src="http://huixuehuiji.com/uploads/20200426/166d09a6288d99dc6acaefb62666e52d.png" data-filename="filename"><img style="width: 470px;" src="http://huixuehuiji.com/uploads/20200426/cf6077d8c05882172b439e815bdfb3ae.png" data-filename="filename"><img style="width: 180px;" src="http://huixuehuiji.com/uploads/20200426/f7f76d10ec72d7d9e1e81485d404463b.png" data-filename="filename"><br></p>
         */

        private int id;
        private String name;
        private String logo_image;
        private String description;
        private String price;
        private int begin_time;
        private int end_time;
        private String state;
        private String content;
        private String test_id;

        public String getTest_id() {
            return test_id;
        }

        public void setTest_id(String test_id) {
            this.test_id = test_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo_image() {
            return logo_image;
        }

        public void setLogo_image(String logo_image) {
            this.logo_image = logo_image;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getBegin_time() {
            return begin_time;
        }

        public void setBegin_time(int begin_time) {
            this.begin_time = begin_time;
        }

        public int getEnd_time() {
            return end_time;
        }

        public void setEnd_time(int end_time) {
            this.end_time = end_time;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}

